* {
    margin: 0px;
    padding: 0px;
    list-style: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: Open Sans, -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Segoe UI, Arial, Roboto, PingFang SC, miui, Hiragino Sans GB, Microsoft Yahei, sans-serif;
}

body, html, .page {
    overflow-x: hidden;
    width: 100vw;
}

.page, body {
    background-color: var(--lee-bg-gray);
}

.page {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.page.home {
    width: 100%;
    min-height: 100vh;
    padding: 46px 20px 20px;
}

.pageTitle {
    margin: 0 0 16px;
    font-size: 32px;
    padding-left: 16px;
    font-weight: 400;
}

.pageDesc {
    color: var(--lee-gray);
    text-align: left;
    margin: 0 0 40px;
    font-size: 14px;
    line-height: 1.6;
    padding-left: 16px;
}

.category {
    margin: 24px 0 8px 16px;
    color: var(--lee-gray);
    font-size: 14px;
}

.home .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 20px;
    color: #34495e;
    font-weight: 600;
    font-size: 14px;
    height: 40px;
    background-color: var(--lee-bg-white);
    border-radius: 20px;
    transition: opacity .3s;
    text-decoration: none;
}

.home .nav.ok {
    color: var(--lee-disabled);
}

.home .nav i {
    font-size: 14px;
    color: var(--lee-gray);
    font-weight: normal;
}

.inPage .pageBody {
    /*display: flex;*/
}

.pageBody .showDemo {
    width: 414px;
    height: 70vh;
    overflow-y: auto;
    position: fixed;
    right: 16px;
    top: 62px;
}

.pageBody .docs {
    padding: 32px 32px 0 32px;
    color: var(--lee-black-dark);
    width: calc(100vw - 414px);
}
.pageBody .docs h2,.pageBody .docs h3{
    cursor: pointer;
}


.pageBody .docs .in {
    /*width: 100%;*/
    /*border-radius: 20px;*/
    /*height: 100%;*/
}

.pageFooter {
    padding-top: 40px;
    padding-bottom: 32px;
    text-align: center;
    color: var(--lee-gray);
    font-size: 13px;
}

.pageFooter img {
    height: 20px;
}


.showDemo::-webkit-scrollbar {
    width: 0px;
}

.showDemo::-webkit-scrollbar-track {
    background: #999;
}

.showDemo::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.doc-card {
    margin-bottom: 32px;
    padding: 28px;
    background-color: var(--lee-white);
    border-radius: 20px;
    overflow: auto;
}

.pageBody .docs .in h1 {
    margin: 0 0 30px;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.5;
}

.doc-card h3 {
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.6;
}

.pageBody .docs .in h2 {
    margin: 52px 0 20px;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.5;
}

.doc-card p {
    margin-top: 16px;
    color: #34495e;
    font-size: 15px;
    line-height: 26px;
}

.doc-card pre {
    margin: 20px 0 0;
    display: flex;
}

.doc-card code {
    width: 100%;
    overflow-x: auto;
    color: #58727e;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    white-space: pre-wrap;
    word-wrap: break-word;
    -webkit-font-smoothing: auto;
    background-color: #fafafa;
    border-radius: 20px;
}

pre code.hljs {
    padding: 16px 20px !important;
}
.hljs-comment {
    color: var(--lee-disabled)!important;
}
.doc-card  p code,.doc-card  table code,.doc-card  ul code {
    display: inline;
    margin: 0 2px;
    padding: 3px 7px;
    font-size: 14px;
    word-break: keep-all;
    border-radius: 6px;
    color: var(--lee-orange);
}

.doc-card table {
    width: 100%;
    margin-top: 12px;
    color: var(--lee-black-dark);
    font-size: 14px;
    line-height: 1.5;
    border-collapse: collapse;
}

.doc-card table th:first-child {
    padding-left: 0;
}
.doc-card table th {
    padding: 8px 10px;
    font-weight: 600;
    text-align: left;
}
.doc-card table td:first-child {
    padding-left: 0;
}

.doc-card table td {
    padding: 8px;
    border-top: 1px solid var(--lee-gray-light);
}
.doc-card table em {
    display: inline-block;
    color: var(--lee-green);
    font-size: 14px;
    font-style: normal;
    max-width: 300px;
    -webkit-font-smoothing: auto;
}
.doc-card p a, .doc-card ul a, .doc-card table a, .doc-card blockquote a {
    margin: 0 1px;
    color: var(--lee-blue);
    -webkit-font-smoothing: auto;
    text-decoration: none;
}
.doc-card>ul {
    margin: 16px 0 0;
}
.doc-card>ul li{
    padding-left: 15px;
    position: relative;
    margin-bottom: 6px;
}
.doc-card>ul li:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    margin-top: 6px;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "";
}

@media (max-width: 920px) {
    .pageBody .showDemo {
        width: 100%;
        height: auto;
        overflow-y: inherit;
        position: inherit;
    }

    .pageBody .docs {
        padding: 16px;
        width: calc(100vw);
    }
}
